Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SoftwareEngineer, FrontendDeveloper, BackendDeveloper, AndroidDeve… #1185

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Lev2098
Copy link

@Lev2098 Lev2098 commented Sep 15, 2024

…loper, FullStackDeveloper

i think need to use Mixins and i add FrontDevMixin, BackDevMixin, AndroidDevMixin

…loper, FullStackDeveloper

i think need to use Mixins and i add FrontDevMixin, BackDevMixin, AndroidDevMixin
app/main.py Outdated
Comment on lines 43 to 46
def __init__(self, name: str) -> None:
super().__init__(name)
self.skills = ["Python", "SQL", "Django",
"JavaScript", "HTML", "CSS", ]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__init__ method redundant here

app/main.py Outdated
class FrontendDeveloper(SoftwareEngineer):
def __init__(self, name: str) -> None:
super().__init__(name)
self.skills = ["JavaScript", "HTML", "CSS", ]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
self.skills = ["JavaScript", "HTML", "CSS", ]
self.skills += ["JavaScript", "HTML", "CSS", ]

You should not override skills, but update them.

app/main.py Outdated
Comment on lines 49 to 52
print(f"{self.name} started creating a web application...")
print(f"{self.name} is creating an API...")
print(f"{self.name} is creating a webpage...")
return
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use create_powerful_api and create_awesome_web_page methods here

plus skills in class
use self.create_powerful_api and self.create_awesome_web_page
app/main.py Outdated Show resolved Hide resolved
app/main.py Outdated
Comment on lines 40 to 42
class FullStackDeveloper(FrontendDeveloper,
BackendDeveloper):

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class FullStackDeveloper(FrontendDeveloper,
BackendDeveloper):
class FullStackDeveloper(FrontendDeveloper, BackendDeveloper):

Copy link

@vsmutok vsmutok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants